package com.cjbdi.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;

import lombok.Data;

import java.io.Serializable;

/**
 * 留言
 */
@Entity
@Table(name = "message")
@Data
public class Message implements Serializable {

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY) //IDENTITY 自增
    private Integer id;

    private String name;

    private String ip;
    
    private String fymc;
    
    private String fybm;

    private String created;
    
    private String phone;
    
    private String email;
    
    private String description;
    
    private String source;
    
    private String duty;

}